package com.basic.paths;

import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;

/**
 * @Description:
 * @Date: 2024-03-28 10:39
 * @Author: wz
 **/
public class PathTest {
    public static void main(String[] args) {
        Path path = Paths.get("C:\\Users\\Mr.Wang\\Desktop\\t.png");
        System.out.println(path.getFileName());

    }
}
